package com.obor.quartz.config;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
* 
* @Company OBOR
* @Author 周楠
* @Description
* 2019年4月8日
*
*/
@Configuration
public class MsConfig {

	@Bean()
    @LoadBalanced
    public RestTemplate rebbionRestTemplate(){
        return new RestTemplate();
    }
	
	
}
